
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for offComProtestType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="offComProtestType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Type" type="{}messageType"/&gt;
 *         &lt;element name="Details" type="{}messageType"/&gt;
 *         &lt;element name="DecisionShort" type="{}messageType"/&gt;
 *         &lt;element name="DecisionLong" type="{}messageType"/&gt;
 *         &lt;element name="Description" type="{}messageType"/&gt;
 *         &lt;element name="FactsFound" type="{}messageType"/&gt;
 *         &lt;element name="Conclusion" type="{}messageType"/&gt;
 *         &lt;element name="Jury" type="{}offComJuryType" maxOccurs="unbounded"/&gt;
 *         &lt;element name="SignedBy" type="{}offComSignedByType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Status" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="HearingTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /&gt;
 *       &lt;attribute name="DecisionTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /&gt;
 *       &lt;attribute name="Protestor" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Protestee" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Witness" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Interpreter" use="required" type="{}yesNoType" /&gt;
 *       &lt;attribute name="Rule" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "offComProtestType", propOrder = {
    "type",
    "details",
    "decisionShort",
    "decisionLong",
    "description",
    "factsFound",
    "conclusion",
    "jury",
    "signedBy"
})
public class OffComProtestType {

    @XmlElement(name = "Type", required = true)
    protected String type;
    @XmlElement(name = "Details", required = true)
    protected String details;
    @XmlElement(name = "DecisionShort", required = true)
    protected String decisionShort;
    @XmlElement(name = "DecisionLong", required = true)
    protected String decisionLong;
    @XmlElement(name = "Description", required = true)
    protected String description;
    @XmlElement(name = "FactsFound", required = true)
    protected String factsFound;
    @XmlElement(name = "Conclusion", required = true)
    protected String conclusion;
    @XmlElement(name = "Jury", required = true)
    protected List<OffComJuryType> jury;
    @XmlElement(name = "SignedBy")
    protected OffComSignedByType signedBy;
    @XmlAttribute(name = "Status", required = true)
    protected String status;
    @XmlAttribute(name = "HearingTime")
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar hearingTime;
    @XmlAttribute(name = "DecisionTime")
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar decisionTime;
    @XmlAttribute(name = "Protestor")
    protected String protestor;
    @XmlAttribute(name = "Protestee")
    protected String protestee;
    @XmlAttribute(name = "Witness")
    protected String witness;
    @XmlAttribute(name = "Interpreter", required = true)
    protected YesNoType interpreter;
    @XmlAttribute(name = "Rule", required = true)
    protected String rule;
    @XmlAttribute(name = "Unit")
    protected String unit;

    /**
     * Gets the value of the type property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getType() {
        return type;
    }

    /**
     * Sets the value of the type property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setType(String value) {
        this.type = value;
    }

    /**
     * Gets the value of the details property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDetails() {
        return details;
    }

    /**
     * Sets the value of the details property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDetails(String value) {
        this.details = value;
    }

    /**
     * Gets the value of the decisionShort property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDecisionShort() {
        return decisionShort;
    }

    /**
     * Sets the value of the decisionShort property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDecisionShort(String value) {
        this.decisionShort = value;
    }

    /**
     * Gets the value of the decisionLong property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDecisionLong() {
        return decisionLong;
    }

    /**
     * Sets the value of the decisionLong property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDecisionLong(String value) {
        this.decisionLong = value;
    }

    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDescription() {
        return description;
    }

    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDescription(String value) {
        this.description = value;
    }

    /**
     * Gets the value of the factsFound property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFactsFound() {
        return factsFound;
    }

    /**
     * Sets the value of the factsFound property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFactsFound(String value) {
        this.factsFound = value;
    }

    /**
     * Gets the value of the conclusion property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getConclusion() {
        return conclusion;
    }

    /**
     * Sets the value of the conclusion property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setConclusion(String value) {
        this.conclusion = value;
    }

    /**
     * Gets the value of the jury property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the jury property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getJury().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link OffComJuryType }
     * 
     * 
     */
    public List<OffComJuryType> getJury() {
        if (jury == null) {
            jury = new ArrayList<OffComJuryType>();
        }
        return this.jury;
    }

    /**
     * Gets the value of the signedBy property.
     * 
     * @return
     *     possible object is
     *     {@link OffComSignedByType }
     *     
     */
    public OffComSignedByType getSignedBy() {
        return signedBy;
    }

    /**
     * Sets the value of the signedBy property.
     * 
     * @param value
     *     allowed object is
     *     {@link OffComSignedByType }
     *     
     */
    public void setSignedBy(OffComSignedByType value) {
        this.signedBy = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStatus(String value) {
        this.status = value;
    }

    /**
     * Gets the value of the hearingTime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getHearingTime() {
        return hearingTime;
    }

    /**
     * Sets the value of the hearingTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setHearingTime(XMLGregorianCalendar value) {
        this.hearingTime = value;
    }

    /**
     * Gets the value of the decisionTime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getDecisionTime() {
        return decisionTime;
    }

    /**
     * Sets the value of the decisionTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setDecisionTime(XMLGregorianCalendar value) {
        this.decisionTime = value;
    }

    /**
     * Gets the value of the protestor property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getProtestor() {
        if (protestor == null) {
            return "";
        } else {
            return protestor;
        }
    }

    /**
     * Sets the value of the protestor property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setProtestor(String value) {
        this.protestor = value;
    }

    /**
     * Gets the value of the protestee property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getProtestee() {
        if (protestee == null) {
            return "";
        } else {
            return protestee;
        }
    }

    /**
     * Sets the value of the protestee property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setProtestee(String value) {
        this.protestee = value;
    }

    /**
     * Gets the value of the witness property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getWitness() {
        if (witness == null) {
            return "";
        } else {
            return witness;
        }
    }

    /**
     * Sets the value of the witness property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setWitness(String value) {
        this.witness = value;
    }

    /**
     * Gets the value of the interpreter property.
     * 
     * @return
     *     possible object is
     *     {@link YesNoType }
     *     
     */
    public YesNoType getInterpreter() {
        return interpreter;
    }

    /**
     * Sets the value of the interpreter property.
     * 
     * @param value
     *     allowed object is
     *     {@link YesNoType }
     *     
     */
    public void setInterpreter(YesNoType value) {
        this.interpreter = value;
    }

    /**
     * Gets the value of the rule property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRule() {
        return rule;
    }

    /**
     * Sets the value of the rule property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRule(String value) {
        this.rule = value;
    }

    /**
     * Gets the value of the unit property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUnit() {
        return unit;
    }

    /**
     * Sets the value of the unit property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUnit(String value) {
        this.unit = value;
    }

}
